package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_group_join")
public class GroupJoin implements Serializable {
    @TableId(value = "join_id", type = IdType.AUTO)
    private Integer joinId;

    /**
     * 活动id
     */
    @TableField(value = "active_id")
    private Integer activeId;

    /**
     * 拼团活动名称
     */
    @TableField(value = "join_name")
    private String joinName;

    /**
     * 拼团活动介绍
     */
    @TableField(value = "join_tip")
    private String joinTip;

    /**
     * 拼团单位
     */
    @TableField(value = "prod_unit")
    private Integer prodUnit;

    /**
     * 商品轮播图
     */
    @TableField(value = "join_images")
    private String joinImages;

    /**
     * 活动开始时间
     */
    @TableField(value = "begin_time")
    private String beginTime;

    /**
     * 活动结束时间
     */
    @TableField(value = "end_time")
    private String endTime;

    /**
     * 拼团时效
     */
    @TableField(value = "expire_time")
    private Integer expireTime;

    /**
     * 拼团人数
     */
    @TableField(value = "group_num")
    private Integer groupNum;

    /**
     * 总购买数量限制
     */
    @TableField(value = "buy_max")
    private Integer buyMax;

    /**
     * 补齐人数
     */
    @TableField(value = "virtual_num")
    private Integer virtualNum;

    /**
     * 商品原价
     */
    @TableField(value = "prod_price")
    private BigDecimal prodPrice;

    /**
     * 拼团价格
     */
    @TableField(value = "group_price")
    private BigDecimal groupPrice;

    /**
     * 拼团商品
     */
    @TableField(value = "prod_info_id")
    private Integer prodInfoId;

    /**
     * 配送方式
     */
    @TableField(value = "send_kind")
    private Integer sendKind;

    /**
     * 运费设置
     */
    @TableField(value = "send_pay")
    private Integer sendPay;

    /**
     * 运费
     */
    @TableField(value = "send_money")
    private BigDecimal sendMoney;
    @TableField(value = "create_time")
    private Date createTime;
    /**
     * 排序
     */
    @TableField(value = "join_top")
    private Integer joinTop;

    @TableField(exist = false)
    private String unitName;
    @TableField(exist = false)
    private String prodName;
    @TableField(exist = false)
    private String activeName;
    @TableField(exist = false)
    private String kindName;
    @TableField(exist = false)
    private String payName;
    @TableField(exist = false)
    private List<String> getGroupTime;
    @TableField(exist = false)
    private List<String> imagesList;
    private static final long serialVersionUID = 1L;
}